<template>
  <div class="panel-tabs">
    <a-tabs default-active-key="1" tab-position="top">
      <a-tab-pane key="1" :tab="$t('upgradeLog.upTask')">
        <Upgradetask />
      </a-tab-pane>
      <a-tab-pane key="2" :tab="$t('upgradeLog.deviceView')">
        <div style="padding: 0 20px">
          <Deviceview :upgradeJobId="true" />
        </div>
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script>
import { Upgradetask, Deviceview } from './upgradeInformation/index';
export default {
  data() {
    return {};
  },
  components: {
    Upgradetask,
    Deviceview,
  },
};
</script>

<style lang="less" scoped>
.panel-tabs {
  /deep/ .ant-tabs-nav {
    display: flex;
  }
}
</style>
